package com.guilin.domain;

import com.guilin.common.annotation.Excel;
import com.guilin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 论坛分类对象 forum_category
 *
 * @author xiaoqi
 * @date 2025-06-20
 */
public class ForumCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 板块ID */
    private Long id;

    /** 板块名称 */
    @Excel(name = "板块名称")
    private String categoryName;

    /** 板块描述 */
    @Excel(name = "板块描述")
    private String categoryDesc;

    /** 板块封面图片URL */
    @Excel(name = "板块封面图片URL")
    private String coverImage;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    /** 状态(1=启用,2=禁用) */
    @Excel(name = "状态(1=启用,2=禁用)")
    private Long status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setCategoryName(String categoryName)
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName()
    {
        return categoryName;
    }

    public void setCategoryDesc(String categoryDesc)
    {
        this.categoryDesc = categoryDesc;
    }

    public String getCategoryDesc()
    {
        return categoryDesc;
    }

    public void setCoverImage(String coverImage)
    {
        this.coverImage = coverImage;
    }

    public String getCoverImage()
    {
        return coverImage;
    }

    public void setOrderNum(Long orderNum)
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum()
    {
        return orderNum;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("categoryName", getCategoryName())
                .append("categoryDesc", getCategoryDesc())
                .append("coverImage", getCoverImage())
                .append("orderNum", getOrderNum())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
